package com.sunk.ytmall.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.sunk.ytmall.entity.Goods;
import com.sunk.ytmall.entity.vo.ProductInfoVO;
import org.springframework.stereotype.Repository;

/**
 * User 表数据库控制层接口
 */
@Repository
public interface GoodsMapper extends BaseMapper<Goods> {

     ProductInfoVO getProductInfo(Goods goods);

     void addSoldNum(Goods goods);
}